#!/bin/bash

path=`cd "$( dirname ${BASH_SOURCE[0]} )" && pwd`
config=$path/config
bin=$path/bin
yunzai=`cat $config/yunzai.txt`
platform=`arch` #获取平台信息
devenv=$path/devenv
env=$devenv/system_env

cd $path

echo "加载环境"
source $devenv/system_bin/node18.sh
source $devenv/system_bin/java8.sh
source $devenv/system_bin/python3.10.sh

echo "运行qs"
source qs.sh

echo "运行yunzai"
cd $yunzai
node app
cd $path
